From: Konrad Rzeszutek Wilk Date: Wed, 11 May 2016 13:59:08 +0000 (-0400) Subject: xsplice: Unmask (aka reinstall NMI handler) if we need to abort. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1126 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=c5ed88110cd1b72af643d7d9e255d587f2c90d3d;p=xen.git xsplice: Unmask (aka reinstall NMI handler) if we need to abort. If we have to abort in xsplice_spin() we end following the goto abort. But unfortunataly we neglected to unmask. This patch fixes that. Reported-by: Martin Pohlack Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Andrew Cooper Reviewed-by: Wei Liu Release-acked-by: Wei Liu --- diff --git a/xen/common/xsplice.c b/xen/common/xsplice.c index 21b9ec027a..b68875b5f3 100644 --- a/xen/common/xsplice.c +++ b/xen/common/xsplice.c @@ -1262,9 +1262,10 @@ void check_for_xsplice_work(void) arch_xsplice_post_action(); local_irq_restore(flags); } - arch_xsplice_unmask(); abort: + arch_xsplice_unmask(); + per_cpu(work_to_do, cpu) = 0; xsplice_work.do_work = 0;